package com.njrsrc.common.url;

/**
 * 
 * @author Oliverzhu
 * 2013/6/18
 */
public class RequestUrlProvider {
	public static final String BASE = "http://api.njrsrc.com";
	//-------用户--------
	/**用户注册(post)*/
	public static final String USER_REGISTER = BASE + "/user/register.json";
	
	/**用户上传头像(post)*/
	public static final String USER_UPLOAD_PIC = BASE + "/user/upload_pic.json";
	
	/**用户登陆(get)*/
	public static final String USER_LOGIN = BASE + "/user/login.json?login_name=#&password=#";
	
	/**用户显示(get)*/
	public static final String USER_SHOW = BASE + "/user/show.json?token=#&user_id=#";
	
	/**用户档案查询(get)*/
	public static final String USER_DANG_AN = BASE + "/user/dang_an.json?name=#&birthday=#";
	
	/**用户户籍查询(get)*/
	public static final String HU_JI = BASE + "/service/huji_search.json?name=#&birthday=#";
	
	/**人才引进查询(get)*/
	public static final String REN_CAI = BASE + "/service/rencai_search.json?name=#&birthday=#";
	
	
	//------工作--------
	/**工作列表(get)*/
	public static final String JOB_LIST = BASE + "/job/list.json?token=#&user_id=#&industry_code=#&position_code=#&area_code=#&nature_code=#&during=#&keyword=#&company_id=#&since_id=#&page_id=#&count=#";
	
	/**收藏工作列表(get)*/
	public static final String JOB_FAVORITE_LIST = BASE + "/job/favorite_list.json?token=#&user_id=#&since_id=#&page_id=#&count=#";
	
	/**申请过的工作列表(get)*/
	public static final String JOB_APPLIED_LIST = BASE + "/job/applied_list.json?token=#&user_id=#&since_id=#&page_id=#&count=#";
	
	/**工作搜索历史(get)*/
	public static final String JOB_SEARCH_HISTORY = BASE + "/job/search_history.json?token=#&user_id=#";
	
	/**工作详情(get)*/
	public static final String JOB_SHOW = BASE + "/job/show.json?job_id=#&token=#&user_id=#";
	
	/**收藏工作(get)*/
	public static final String JOB_ADD_FAVORITE = BASE + "/job/add_favorite.json?job_id=#&token=#&user_id=#";
	
	/**取消收藏工作(get)*/
	public static final String JOB_DELETE_FAVORITE = BASE + "/job/delete_favorite.json?job_fav_id=#&token=#&user_id=#";
	
	/**申请工作(get)*/
	public static final String JOB_APPLY = BASE + "/job/apply.json?job_id=#&token=#&user_id=#";
	
	
	//------公司--------
	/**公司列表(get)*/
	public static final String COMPANY_LIST = BASE + "/company/list.json?token=#&user_id=#since_id=#page_id=#count=#";
	
	/**收藏的公司列表(get)*/
	public static final String COMPANY_FAVORITE_LIST = BASE + "/company/favorite_list.json?token=#&user_id=#since_id=#page_id=#count=#";
	
	/**谁看过我(get)*/
	public static final String COMPANY_SAW_ME_LIST = BASE + "/company/saw_me_list.json?token=#&user_id=#since_id=#page_id=#count=#";
	
	/**公司详情(get)*/
	public static final String COMPANY_SHOW = BASE + "/company/show.json?company_id=#&token=#&user_id=#";
	
	/**收藏公司(get)*/
	public static final String COMPANY_ADD_FAVORITE = BASE + "/company/add_favorite.json?company_id=#token=#&user_id=#";
	
	/**取消收藏公司(get)*/
	public static final String COMPANY_DELETE_FAVORITE = BASE + "/company/delete_favorite.json?company_fav_id=#token=#&user_id=#";
	
	/**公司发布的职位列表(get)*/
	public static final String COMPANY_JOB_LIST = BASE + "/company/job_list.json?token=#&user_id=#&company_id=#&since_id=#&page_id=#&count=#";
	
	
	//------招聘会--------
	/**招聘会列表(get)*/
	public static final String JOB_FAIR_LIST = BASE + "/job_fair/list.json?token=#&user_id=#&since_id=#&page_id=#&count=#";
	
	/**招聘会展位列表(get)*/
	public static final String JOB_FAIR_BOOTH_LIST = BASE + "/job_fair/booth_list.json?job_fair_id=#token=#&user_id=#&since_id=#&page_id=#&count=#";
	
	//------人士经理来信--------
	/**人事经理来信列表(get)*/
	public static final String HR_LETTER_LIST = BASE + "/hr_letter/list.json?token=#&user_id=#&since_id=#&page_id=#&count=#";
	
	/**人事经理来信详情(get)*/
	public static final String HR_LETTER_SHOW = BASE + "/hr_letter/show.json?token=#&user_id=#&hr_letter_id=#";
	
	//------政策新闻--------
	/**政策新闻列表(get)*/
	public static final String NEWS_LIST = BASE + "/news/list.json?token=#&user_id=#&news_type=#&since_id=#&page_id=#&count=#";
	
	/**政策新闻详情(get)*/
	public static final String NEWS_SHOW = BASE + "/news/show.json?token=#&user_id=#&news_id=#";

}
